/**
 * 
 */
package com.swss.g.dept.service;

import java.util.List;

import com.swss.g.base.BaseService;
import com.swss.g.dept.bean.Dept;
import com.swss.util.Pagination;

public interface DeptService extends BaseService<Dept> {
    
	// 删除本级单位及次级单位
	 public void deleteDeptInfo(Dept dept) throws Exception;
    // 通过单位编号查找一条单位信息	 
     public Dept findOneDept(String deptNo) throws Exception;
	//增加一条单位信息	
     public int insertDeptInfo(Dept dept) throws Exception;
    // 条件查询单位信息
     public Pagination<Dept> findDeptByLike(Pagination pagination,Dept dept,String deptNo) throws Exception;
     
     //
     public String findDeptTreeJSONByNo(String deptNo) throws Exception;
}
